From: Florian Müllner Date: Tue, 25 Jan 2011 18:12:03 +0000 (+0100) Subject: Overview: Adjust to window size changes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9185 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e2e90a550e4bba1f3408e01a56d65d11c49fb86b;p=gnome-shell.git Overview: Adjust to window size changes Windows may change their size while the overview is open, e.g. when switching panels in the control center. Make sure that the preview's position and overlay are updated in that case. https://bugzilla.gnome.org/show_bug.cgi?id=640560 --- diff --git a/js/ui/workspace.js b/js/ui/workspace.js index e44f5584d..ddd82bcc0 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -1325,6 +1325,10 @@ Workspace.prototype = { Lang.bind(this, function() { this._windowIsZooming = false; })); + win.connect('size-changed', + Lang.bind(this, function() { + this.positionWindows(0); + })); this.actor.add_actor(clone.actor);